package net.lgy.apitest.model.VO;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * API测试结果视图对象类（返回给前端）
 */
@Data
public class ApiTestResultVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private Long testCaseId;
    private String testCaseName; // 测试用例名称
    private String url;
    private String method;
    private String requestHeaders;
    private String requestBody;
    private Integer responseStatus;
    private String responseHeaders;
    private String responseBody;
    private Integer responseTime;
    private Boolean success;
    private String errorMessage;
    private LocalDateTime testTime;
}